package com.yanqu.road.server.manager.tomb.entity;

import java.util.HashSet;
import java.util.Set;

public class DoorInfo {
    private int x;
    private int y;

    private Set<String> unionSet = new HashSet<>();
    public DoorInfo() {

    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }


    public Set<String> getUnionSet() {
        return unionSet;
    }

    public void setUnionSet(Set<String> unionSet) {
        this.unionSet = unionSet;
    }

    public int acquireUnionNum() {
        return this.unionSet.size();
    }
}
